StorePress\TwoCheckoutPaymentGateway\Plugin S

Total Complexity 44
Dependencies 9
Dependents 1
Total lines 478
Lines of code 181
Logical lines of code 83
Comment lines 229
Methods 37
Properties 0

Methods 37

Method Rating Maintainability Complexity Lines of code
__construct()
S
58 2 17
instance()
S
69 2 7
version()
S
68 2 7
name()
S
68 2 7
includes()
S
67 2 8
add_block_support()
S
70 2 6
add_custom_order_table_support()
S
70 2 6
plugin_action_links()
S
60 1 13
get_plugin_file()
S
80 1 3
get_pro_plugin_file()
S
81 1 3
get_compatible_extended_version()
S
81 1 3
init()
S
78 1 4
hooks()
S
65 1 8
load_translations()
S
78 1 3
available_payment_methods_message()
S
65 1 9
basename()
S
79 1 3
plugin_basename()
S
80 1 3
plugin_dirname()
S
79 1 3
plugin_path()
S
79 1 3
plugin_url()
S
79 1 3
images_url()
S
79 1 3
assets_url()
S
79 1 3
assets_path()
S
80 1 3
vendor_path()
S
80 1 3
vendor_url()
S
79 1 3
build_url()
S
79 1 3
build_path()
S
80 1 3
assets_version()
S
79 1 3
include_path()
S
79 1 3
get_gateway_class_by_style()
S
82 1 3
get_gateway_block_class_by_style()
S
82 1 3
add_gateways()
S
76 1 4
add_blocks()
S
73 1 5
get_gateway()
S
73 1 5
register_dependencies()
S
67 1 9
container()
S
81 1 3
is_pro()
S
82 1 3